#!/bin/sh
# This script is pretty much specific to me where I do not do development on the machine the scope is plugged into and have it compiled and sent to
# the remote machine to upload instead - left in for completeness
make
rsync -avz "/home/mwvent/projects/gem-telescope-driver/ArduinoGEMDriver/build-mega2560/ArduinoGEMDriver.hex" mwvent@192.168.0.22:/home/mwvent/
ssh mwvent@192.168.0.22 "/home/mwvent/Scripts/update_telescope"
